package cn.com.jinhao.provider.business.service;

import cn.com.jinhao.hotline.commons.vo.business.finished.FinishedCondition;
import cn.com.jinhao.hotline.commons.vo.business.finished.FinishedRequestVO;
import cn.com.jinhao.provider.business.entity.WorkFinished;

import java.util.Map;

public interface WorkFinishedService {
    void add(FinishedRequestVO finishedRequestVO) throws Exception;
    void update(FinishedRequestVO finishedRequestVO) throws Exception;
    void delete(String id) throws Exception;
    Map<String, Object> selectByCondition(FinishedCondition conditions) throws Exception;
    WorkFinished detailByEventCodeAndDispatchCode(String eventCode, String workOrderCode) throws Exception;
    WorkFinished detailByCode(String code) throws Exception;
}
